<template>
  <div class="bigbox">
    
    <!-- vip -->
    
    <div class="vip">
      <p>会员专区</p>
      <div class="vip_content">
        <div class="vip_content_avatar">
          <img src="../../../assets/images/touxiang.png">
        </div>
        <div class="vip_content_container">
          <div class="vip_content_container_left">
            <div class="vip_content_container_left_name">WenDongAaVz <span><i class="lv"></i><i class="lv1"></i></span>
            </div>
            <div class="vip_content_container_left_vip-tip">开通会员尊享10大特权</div>
          </div>
          <div class="vip_content_container_center">
            <span class="vip_content_container_center_icon"><img src="../../../assets/images/free.png"></span>
            <p>
              以下<i>723</i>个会员专区课程
              <br>全部免费学习
            </p>
          </div>
          <div class="vip_content_container_right">
            <span class="vip_content_container_right_icon"><img src="../../../assets/images/lijian.png"></span>
            <p>
              购买非会员专区课程
              <br>可获会员立减优惠
            </p>
          </div>
        </div>
        <div class="vip_content_open" v-show="float">
          <el-button type="primary" round color="#F93684"><span class="span1">立即开通</span></el-button>
          <span class="span2">查看/开通></span>
        </div>
      </div>
    </div>
    <!-- 展示 -->
    <Exhibition></Exhibition>

  </div>

</template>

<script setup lang="ts">
import Exhibition from './exhibition/index.vue'
import {ref} from 'vue'
let num = ref(0)
let float = ref(true)
</script>

<style scoped>
* {
  margin: 0;
  padding: 0;
  
}

.bigbox {
  width: 100%;
  height: 100%;
  background-color: #F5F7F9;
}



/* 会员专区大容器 */
.vip {
  width: 1140px;
  height: 104px;
  margin: 0 auto;
  color: #111;
  background-color: #fff;
  margin-top: 15px;
  margin-bottom: 10px;
  border-radius: 4px;
  padding: 20px 30px 16px;
}

/* 会员专区文字 */
.vip p {
  font-size: 16px;
  margin: 0 0 16px;
  font-weight: 400;
}

/* 头像同级大容器 */
.vip_content {
  width: 1140px;
  height: 70px;
  position: relative;
  min-height: 50px;
  display: flex;
  align-items: center;
  /* background-color: #bfc; */
}

/* 小头像 */
.vip_content_avatar {
  margin-right: 10px;
  width: 50px;
  height: 50px;
}
.vip_content_avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
/* 会员专区中间容器 */
.vip_content_container {
  display: flex;
  align-items: center;
}

/* 会员专区个人信息 左侧 */
.vip_content_container_left {
  width: 220px;
  height: 46px;
  border-right: 1px solid rgb(210, 208, 208);
}

.vip_content_container_left_name {
  width: 220px;
  height: 24px;
  padding-top: 4px;
  font-size: 16px;
  float: left;
}

.vip_content_container_left_name span {
  display: block;
  width: 41px;
  height: 20px;
  box-sizing: border-box;
  background: linear-gradient(#ff289b, #ff43d0);
  border: 1px solid #fff;
  border-radius: 4px;
  padding: 0 8px;
  display: inline-block !important;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
  margin-left: 8px;
}

.vip_content_container_left_name span i {
  width: 8px;
  height: 10px;
  display: inline-block;
  background-size: 100%;
  background-repeat: no-repeat;
}

.vip_content_container_left_name .lv {
  width: 15px;
  height: 10px;
  background-image: url(https://rs.dance365.com/level_Lv.@3x.png);

}

.vip_content_container_left_name .lv1 {
  background-image: url(https://rs.dance365.com/level_num_1@3x.png);

}

.vip_content_container_left_vip-tip {
  width: 220px;
  height: 14px;
  margin-top: 8px;
  font-size: 12px;
  color: #f93684;
}


/* 中间 */
.vip_content_container_center {
  width: 390px;
  height: 69px;
  /* background-color: hotpink; */
  display: flex;
  flex: 1;
  text-align: center;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.vip_content_container_center_icon {
  width: 58px;
  height: 58px;
  margin-right: 30px;
}

.vip_content_container_center_icon img {
  width: 58px;
  display: inline-block;
}


.vip_content_container_center p {
  padding-top: 8px;
}

.vip_content_container_center p i {
  color: #f93684;
}

/* 右侧 */
.vip_content_container_right {
  width: 390px;
  height: 69px;
  /* background-color: yellowgreen; */
  display: flex;
  flex: 1;
  text-align: center;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.vip_content_container_right_icon {
  width: 58px;
  height: 58px;
  margin-right: 30px;
}

.vip_content_container_right_icon img {
  width: 58px;
  display: inline-block;
}

.vip_content_container_right p {
  padding-top: 8px;
}

/* 开通vip */
.vip_content_open {
  width: 80px;
  height: 58px;
  /* background-color: aqua; */
}

/* el-button {
  width: 80px;
  height: 32px;
  line-height: 32px;
  background-color: #f93684;
  margin: 0px 0px 8px;
  padding: 0px 13px;
  font-size: 12px;
  border-radius: 20%;
  font-size: 12px;
  color: #fff;
  border: none;
} */
.vip_content_open .span1 {
  font-size: 13px;
  color: #fff;
}

.vip_content_open .span2 {
  height: 16px;
  font-size: 12px;
  color: rgb(164, 159, 159);
}
</style>